<template>
  <div id="app">
    <!--   <p>哈哈</p>
    <van-button type="primary">主要按钮</van-button>
    <van-button type="info">信息按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button> -->
    <keep-alive><router-view v-if="$route.meta.isKeeplive"/></keep-alive>
    <router-view v-if="!$route.meta.isKeeplive" />
  </div>
</template>
<script>
// import axios from './utils/request'
export default {
  /*   async created() {
    const res = await axios({
      method: 'get',
      url: '/v1_0/channels'
    })
    console.log(res)
  } */
}
</script>
<style lang="less"></style>
